@model Decimal
<input asp-for="@Model" asp-format="{0:F4}" />
@{
    var postfix = "";
    if (ViewData.ContainsKey("postfix") && ViewData["postfix"] != null)
    {
        postfix = ViewData["postfix"].ToString();
    }
}
<script>
$(document).ready(function () {
    $("#@Html.IdForModel()").kendoNumericTextBox({
        min: @Html.Raw(decimal.MinValue),
        max: @Html.Raw(decimal.MaxValue),
        decimals: 4,
        restrictDecimals: true,
        format: "#.0000 @postfix"
        });
    });
</script>